package com.study.spmongodb.wwj.thread2.char04;

/**
 * @author MI
 * @version 1.0
 * @date 2020/12/7 19:43
 */
public class ObserverClient {
    public static void main(String[] args) {
        Subject subject = new Subject();

        final BinaryObserver binaryObserver = new BinaryObserver(subject);
        final OctalObserver octalObserver = new OctalObserver(subject);

        System.out.println("===============");
        subject.setState(10);

    }
}
